package com.dreamchaser.pojo;

import java.util.Date;

/**
 * blog实体
 */
public class Blog {

    /** ID编号 */
    private Integer id;

    /** 博客标题 */
    private String title;

    /** 博客摘要 */
    private String summary;

    /** 博客内容 */
    private String content;

    /** 发布时间 */
    private Date date;

    /** 所属专栏 */
    private Integer type;

    /** 浏览量 */
    private Integer views=0;

    /** 标签 */
    private String tags;

    /** 评论 */
    private String comments;

    /** 首图地址 */
    private String pictureUrl;

    /** 是否开启推荐 */
    private Integer isRecommend=0;

    /** 是否开启转载声明 */
    private Integer isReprint=0;

    /** 是否开启赞赏 */
    private Integer isAppreciation=0;

    /** 是否开启评论 */
    private Integer isComment=1;

    /** 1.原创；2.转载；3.翻译 */
    private Integer property=1;

    /** 状态：0.草稿；1.已发布 */
    private Integer state;



    public Integer getId() {
        return this.id;
    }
    public void setId(Integer id) {
        this.id = id;
    }


    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }


    public String getSummary() {
        return this.summary;
    }
    public void setSummary(String summary) {
        this.summary = summary;
    }


    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }


    public Date getDate() {return this.date;}
    public void setDate(Date date) {
        this.date = date;
    }


    public Integer getType() {
        return this.type;
    }
    public void setType(Integer type) {
        this.type = type;
    }


    public Integer getViews() {
        return this.views;
    }
    public void setViews(Integer views) {
        this.views = views;
    }


    public String getTags() {
        return this.tags;
    }
    public void setTags(String tags) {
        this.tags = tags;
    }


    public String getComments() {
        return this.comments;
    }
    public void setComments(String comments) {
        this.comments = comments;
    }


    public String getPictureUrl() {
        return this.pictureUrl;
    }
    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }


    public Integer getIsRecommend() {
        return this.isRecommend;
    }
    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }


    public Integer getIsReprint() {
        return this.isReprint;
    }
    public void setIsReprint(Integer isReprint) {
        this.isReprint = isReprint;
    }


    public Integer getIsAppreciation() {
        return this.isAppreciation;
    }
    public void setIsAppreciation(Integer isAppreciation) {
        this.isAppreciation = isAppreciation;
    }


    public Integer getIsComment() {
        return this.isComment;
    }
    public void setIsComment(Integer isComment) {
        this.isComment = isComment;
    }


    public Integer getProperty() {
        return this.property;
    }
    public void setProperty(Integer property) {
        this.property = property;
    }


    public Integer getState() {
        return this.state;
    }
    public void setState(Integer state) {
        this.state = state;
    }

}